﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Windows.Phone.Speech.Synthesis;

namespace WPToolkit
{
    public partial class ToolkitPage : PhoneApplicationPage
    {
        public ToolkitPage()
        {
            InitializeComponent();
        }

        private void Rating_ValueChanged(object sender, System.EventArgs e)
        {
            
        }

        private async void btnSpeak_Click(object sender, RoutedEventArgs e)
        {
            SpeechSynthesizer synth = new SpeechSynthesizer();
            await synth.SpeakTextAsync(txtSpeech.Text);
        }
    }
}